import request from "@/utils/request"

// 登录
export function loginByName(userName:string, password:string){
    return request({
        url:"/api/v1/login",
        method:"post",
        data:{
            userName,
            password
        }
    })
}